from django.db import models
from django.contrib.auth.models import AbstractUser

__all__ = {
    "User",
}


class User(AbstractUser):
    is_delete = models.BooleanField(verbose_name="是否软删除", default=False)

    class Meta:
        verbose_name = "用户表"
        verbose_name_plural = verbose_name

    def __str__(self):
        return f"{self.username}"